package net.sudot.chess.business.model;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 房间和玩家关联
 *
 * @author tangjialin on 2018-03-03.
 */
@Getter
@Setter
@Accessors(chain = true)
@Entity
public class RoomCustomerRef extends BaseEntity<RoomCustomerRef> {
    /** 房间 */
    private Long roomId;
    /** 玩家 */
    private Long customerId;
    /** 是否已发起关闭房间 */
    private Boolean closed;

}
